{extend name="public/world"}
{block name="title"}添加账户{/block}
{block name="style"}
<style type="text/css">
    .layui-form-item {
        margin-bottom: 0px;
    }
    .layui-form-label {width:110px;}
</style>
{/block}
{block name="container"}
<div class="layui-form" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-form-useradmin">
    <div class="layui-card" style="padding: 15px 0 0 0;height:330px;">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label label-required">账户名称</label>
                <div class="layui-input-inline" style="width: 250px;">
                    <input type="text" name="name" value="" lay-verify="required" placeholder="请输入账户名称" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label label-required">账号</label>
                <div class="layui-input-inline" style="width: 200px;">
                    <input type="text" name="account" value="" lay-verify="number" placeholder="请输入账号" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label label-required">账户类型</label>
                <div class="layui-input-inline">
                    <select name="type" lay-verify="required" lay-search>
                        <option value="">请选择账户类型</option>
                        {volist name="types" id="type"}
                        <option value="{$key}">{$type}</option>
                        {/volist}
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">开户行</label>
                <div class="layui-input-inline" style="width: 300px;">
                    <input type="text" name="bank_name" value="" placeholder="请输入开户行" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">备注信息</label>
                <div class="layui-input-inline" style="width: 350px;">
                    <input type="text" name="market" value="" placeholder="备注信息" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label label-required">费率</label>
                <div class="layui-input-inline" style="width: 120px;">
                    <input type="text" name="rate" value="0.0" lay-verify="number" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">%</div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label label-required">限额</label>
                <div class="layui-input-inline" style="width: 120px;">
                    <input type="text" name="money_limit" value="0.0000" lay-verify="number" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">万元</div>
            </div>
        </div>
        <div class="layui-form-item layui-hide">
            <input type="button" lay-submit lay-filter="LAY-front-submit" id="LAY-front-submit" value="确认">
        </div>
    </div>
</div>
{/block}
{block name="script"}
<script>
    //JavaScript代码区域
    layui.use(['form'], function() {
        var $ = layui.$
            , form = layui.form;
    });
</script>
{/block}